package com.hyts.sftp.bean;

import lombok.*;

/**
 * project-name:coffice-toolbox
 * package-name:com.hyts.sftp.bean
 * author:Libo/Alex
 * create-date:2019-06-18 21:27
 * copyright:libo-hyts-github
 * email:libo2dev@aliyun.com
 * description:此类主要用于: sftp对象
 */
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SFTPDomain {

    @Setter
    @Getter
    private String ip;

    @Setter
    @Getter
    private int port;

    @Setter
    @Getter
    private String userName;

    @Setter
    @Getter
    private String password;

    @Setter
    @Getter
    private Integer sessionTimeout;


    public SFTPDomain(String ip, int port, String userName, String password) {
        this.ip = ip;
        this.port = port;
        this.userName = userName;
        this.password = password;
    }
}
